<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>添加文章类别</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all" />
<script>  
        <%--JS gloable varilible--%>  
        var ctx = "${ctx}";  
</script>
<style type="text/css">
.layui-form-item .layui-inline {
	width: 33.333%;
	float: left;
	margin-right: 0;
}

@media ( max-width :1240px) {
	.layui-form-item .layui-inline {
		width: 100%;
		float: none;
	}
}
</style>
</head>
<body class="childrenBody">
	<form class="layui-form" style="width: 80%;margin-top: 20px;" id="aaf">

		<div class="layui-form-item">
			<label class="layui-form-label">父级编号</label>
			<div class="layui-input-block">
				<input type="text" id="parentId" class="layui-input userName"
					lay-verify="required" placeholder="请输入父级编号" name="parentId" value="${parentId}">
			</div>
		</div>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">所有父级编号</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="parentIds" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入所有父级编号" name="parentIds" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">站点编号</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="siteId" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入站点编号" name="siteId" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">归属机构</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="officeId" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入归属机构" name="officeId" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<div class="layui-form-item">
			<label class="layui-form-label">栏目模块</label>
			<div class="layui-input-block">
				<input type="text" id="module" class="layui-input userName"
					lay-verify="required" placeholder="请输入栏目模块" name="module" value="">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">栏目名称</label>
			<div class="layui-input-block">
				<input type="text" id="name" class="layui-input userName"
					lay-verify="required" placeholder="请输入栏目名称" name="name" value="">
			</div>
		</div>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">栏目图片</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="image" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入栏目图片" name="image" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">链接</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="href" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入链接" name="href" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">目标</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="target" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入目标" name="target" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">描述</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="description" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入描述" name="description" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">关键字</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="keywords" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入关键字" name="keywords" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<div class="layui-form-item">
			<label class="layui-form-label">排序（升序）</label>
			<div class="layui-input-block">
				<input type="text" id="sort" class="layui-input userName"
					lay-verify="required" placeholder="请输入排序（升序）" name="sort" value="">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">是否在导航中显示</label>
			<div class="layui-input-block">
				<input type="radio" name="inMenu" value="1" title="是" checked>
				<input type="radio" name="inMenu" value="0" title="否">
			</div>
		</div>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">是否在分类页中显示列表</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="inList" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入是否在分类页中显示列表" name="inList" value="">--%>
			<%--</div>--%>
		<%--</div>--%>

		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">是否允许评论</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="allowComment" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入是否允许评论" name="allowComment" value="">--%>
			<%--</div>--%>
		<%--</div>--%>

		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">自定义列表视图</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="customListView" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入自定义列表视图" name="customListView" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">自定义内容视图</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="customContentView" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入自定义内容视图" name="customContentView" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%--<div class="layui-form-item">--%>
			<%--<label class="layui-form-label">视图配置</label>--%>
			<%--<div class="layui-input-block">--%>
				<%--<input type="text" id="viewConfig" class="layui-input userName"--%>
					<%--lay-verify="required" placeholder="请输入视图配置" name="viewConfig" value="">--%>
			<%--</div>--%>
		<%--</div>--%>
		<%----%>

		<div class="layui-form-item">
			<label class="layui-form-label">备注信息</label>
			<div class="layui-input-block">
				<input type="text" id="remarks" class="layui-input userName"
					lay-verify="required" placeholder="请输入备注信息" name="remarks" value="">
			</div>
		</div>

		<input type="hidden" id="delFlag"  name="delFlag" value="0">



		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addCmsCategory">立即提交</button>
			</div>
		</div>
	</form>
	<script type="text/javascript" src="${ctx}/layui/layui.js"></script>
	<script type="text/javascript" src="${ctx}/page/cmscategory/addcmscategory.js"></script>

</body>
</html>